package de.baumann.browser.api.net.vo;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class Version implements Serializable {

    @SerializedName("version")
    private int versionCode;
    @SerializedName("update_url")
    private String updateUrl;

    @SerializedName("update_desc")
    private String updateDesc;

    @SerializedName("update_data")
    private String updateData;
    private int force;

    public int getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(int versionCode) {
        this.versionCode = versionCode;
    }

    public String getUpdateUrl() {
        return updateUrl;
    }

    public void setUpdateUrl(String updateUrl) {
        this.updateUrl = updateUrl;
    }

    public String getUpdateDesc() {
        return updateDesc;
    }

    public void setUpdateDesc(String updateDesc) {
        this.updateDesc = updateDesc;
    }

    public String getUpdateData() {
        return updateData;
    }

    public void setUpdateData(String updateData) {
        this.updateData = updateData;
    }

    public int getForce() {
        return force;
    }

    public void setForce(int force) {
        this.force = force;
    }

    @Override
    public String toString() {
        return "Version{" +
                "versionCode=" + versionCode +
                ", updateUrl='" + updateUrl + '\'' +
                ", updateDesc='" + updateDesc + '\'' +
                ", updateData='" + updateData + '\'' +
                '}';
    }
}
